package com.zp.service;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zp
 * @description
 * @created 2021/11/24 14:34
 */

@RestController
@Api(tags = "注册客户端")
public class RegisterClientService {

    @Autowired
    private RegisterService registerService;
    /**
     * 获取注册中心信息
     * @return
     */
    @GetMapping("/activeService")
    @ApiOperation("注册中心活跃信息")
    public String activeService() throws Exception {
        return registerService.activeService();
    }
}
